package spider.util;

import com.alibaba.fastjson.JSONObject;
import spider.pojo.StreamingData;

/**
 * 对象转Json
 *
 * @author 李延念
 * @create 2018-06-11 11:27
 **/
public class JsonUtil {
    public static String buildResult(Object sData) {
        return JSONObject.toJSONString(sData).toString();
    }
}
